Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow assignment to the prototype using `set()`. This resolves a Prototype Pollution vulnerability. An attacker could have assigned a value to the target object's prototype, which can modify how objects behave throughout the entire application.
- Loading branch information
1 parent
787ada7
commit 24935e6
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24935e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CVE-2020-28274 was referenced to this commit.